const MyEmitter = require("events");
const MyEmitter = new MyEmitter();
myEmitter.on("event_name",function(a,b){
    console.log(a,b,this,this===myEmitter);
});
myEmitter.emit("event_name","a","b");
const MyEmitter2 =new MyEmitter();
MyEmitter2.on("event_name",(a,b)=>{
    console.log(a,b,this);
});
MyEmitter2.emit("event_name","a","b");